home *** CD-ROM | disk | FTP | other *** search
- I have found a 'relatively elegant' workaround to implement
- inheritance of forms until delphi(ide) will supportit . I have
- one ground level Formclass with some functionality and a lot of
- derived forms filled with data(dbedits..). At later time when the
- delphi support exists I want to minimize the changes I have to
- do on the hundreds of forms: OnFormCreate I call a method LoadRes
- (ReadComponentResFile) of my ground form. Maybe ReadComponentres
- will also do it, havent tried it out yet. For each of the
- componentclasses which I have in my ground form I had to place
- one dummycomponent in my derived forms !!!??? When the new
- delphi comes out I just have to delete the dummy-component-group
- in all the data-forms and clear the call to ReadComponentResFile.
-
- Markus Mayer, MAMAVISION Software Consult, Konstanz, Germany
-